<?php
/**
 * 轻云网络验证系统
 * =======================================================
 * 版权所有(C) 2019-2039 daenx.cn，并保留所有权利。
 * 作者：Daen大恩
 * 作者QQ: 1330166565
 * 开发群：661059773
 * =======================================================
 */
    include 'farmwork.php';
	header("content-type:text/html;charset=utf-8");
	login();
	$sql = "SELECT * FROM duijie where lx='yzf'"; 
	$result=mysqli_query($con,$sql);
	if($result&&mysqli_num_rows($result)){
	   while ($row=mysqli_fetch_assoc($result)) {
			$yzf_kg = $row['kg'];
			$yzf_id = $row['shid'];
			$yzf_key = $row['shkey'];
	   }
	}

$li1233='class="active"';
$li12332='class="active"';
?>
<?php include 'header.php';?>
    <title>在线充值-<?php echo $title?></title>
<?php include 'list.php';?>
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
<?php include 'overview.php';?>
            <div class="row">
                <div class="col-lg-12">
                    <!--work progress start-->
                    <section class="panel panel-success">
                        <div class="panel-body progress-panel">
                            <div class="task-progress">
                                <h1>在线充值</h1>
                                <p>在线充值代理余额</p>
					 <div class="panel-body">
					 
					 
			<form name=alipayment action=epayapi.php method=post target="_blank">
            <div id="body" style="clear:left">
                <dl class="content">
                        
                    </dd>
                    <dt>￥ 商品名称：</dt>
                    <dd>
                        <input size="30" name="WIDsubject" disabled="disabled" class="form-control" value="在线余额充值"/>
                    </dd>
					<br>
                    <dt>￥ 充值金额(元)：</dt>
                    <dd>
                        <input size="30" name="WIDtotal_fee" value="0.01" class="form-control" />
                    </dd>
					<br>
					<dt>支付方式：</dt>
                    <dd>
                        <label><input type="radio" name="type" value="alipay" checked="">支付宝</label>&nbsp;<label><input type="radio" name="type" value="qqpay">QQ钱包</label>&nbsp;<label><input type="radio" name="type" value="wxpay">微信支付</label>
                    </dd>
					<br>
                    <dd>
                        <span class="new-btn-login-sp">
						
                            <button class="btn btn-info" type="submit" <?php if($yzf_kg==0) echo 'disabled="disabled"';?> style="text-align:center;">确 认</button>
							<?php if($yzf_kg==0) echo '在线充值未开启，请使用卡密方式充值或者联系管理员';?>
                        </span>
                    </dd>
                </dl>
            </div>
		</form>
		

        </div>

                            </div>
                        </div>						


                    </section>
                    <!--work progress end-->
                </div></div>

        </section>
    </section>
    <!--main content end-->

<?php include 'footer.php';?>
